Skip to content

Conversation

@Neibce
Copy link
Member

@Neibce Neibce commented May 14, 2025

변경점 👍

9개 엔드포인트 구현

  • 게시글 목록 가져오기 GET /post
  • 게시글 업로드 POST /post
  • 게시글 가져오기 GET /post/{id}
  • 게시글 수정 PATCH /post/{id}
  • 게시글 삭제 DELETE /post/{postId}
  • 댓글 목록 조회 GET /post/{postId}/comment
  • 댓글 업로드 POST /post/{postId}/comment
  • 댓글 삭제 DELETE /post/{postId}/comment/{commentId}
  • 댓글 수정 PATCH /post/{postId}/comment/{commentId}

상세 내용 : https://devlog.jun0.dev/swagger-ui/index.html (실제 요청 전송 가능합니다! 24/7)

스크린샷 🖼

image

비고 ✏

  • N+1 문제 해결 필요
  • 아직 특정 예외(사용자가 탈퇴할 경우 기존 게시글, 댓글의 처리)에 대해 다 구현하지 못해 수정 필요..

* Java 버전 재설정

* db, jwt, springdoc 관련 설정 추가

* 각종 dependencies 추가

* Enable JpaAuditing

* 각종 예외 클래스 추가

* CommonResponse 정의

* User entity 및 repository 정의

* User entity 및 repository 정의

* RefreshToken 관련 entity, repository 정의

* GlobalExceptionHandler 정의

* SecurityConfig 정의 및 로그인 위한 AuthenticationFilter 정의

* CustomUserDetailsService 정의

* Auth 기능 controller 및 service 정의

* User 기능 controller 및 service 정의

* Jwt용 TokenProvider 정의

* Swagger 사용 위해 SwaggerConfig 정의

* feat: user에 isActive 열 추가해 계정 탈퇴 시 행 delete 대신 단순 update로 관리

* fix: 잘못/만료된 refreshtoken 통과되는 오류 해결

* fix: PK를 email에서 uuid로 변경

* style: 오타 수정

* fix: CustomUserDetails 사용하도록 통일

* fix: 클래스 이름 형식 통일

* feat: User간 .equals(User)로 비교 가능하게 수정
Neibce added 2 commits May 16, 2025 19:54
* feat: 게시글/대댓글 작성, 보기 기능 추가를 위한 DTO/도메인 추가

* feat: 게시글/대댓글 작성, 보기 기능 구현
@Neibce
Copy link
Member Author

Neibce commented May 20, 2025


* feat: 알림 메일 전송을 위한 MailService 구현

* refactor: nofi 종류별 함수 분리

* feat: 비동기 메일 전송을 위한 Executor 추가

* feat: 비동기 메일 전송을 위한 댓글 생성 Event, Listener 클래스 추가

* feat: CommentService에서 publishEvent
@Neibce Neibce closed this May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant